import request from '@/utils/request'

// 查询海岛北斗设备列表
export function listBeidouClient(query) {
  return request({
    url: '/device/beidouClient/list',
    method: 'get',
    params: query
  })
}

// 查询海岛北斗设备详细
export function getBeidouClient(id) {
  return request({
    url: '/device/beidouClient/' + id,
    method: 'get'
  })
}

// 新增海岛北斗设备
export function addBeidouClient(data) {
  return request({
    url: '/device/beidouClient',
    method: 'post',
    data: data
  })
}

// 修改海岛北斗设备
export function updateBeidouClient(data) {
  return request({
    url: '/device/beidouClient',
    method: 'put',
    data: data
  })
}

// 删除海岛北斗设备
export function delBeidouClient(id) {
  return request({
    url: '/device/beidouClient/' + id,
    method: 'delete'
  })
}
